import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)
import VuexPersist from 'vuex-persist';
const vuexLocal = new VuexPersist({
  storage: window.sessionStorage,
})
export default new Vuex.Store({
  state: {
    users:{},
  },
  mutations: {
    login(state,data){
        console.log('d');
    }
  },
  actions: {

  },
  plugins: [vuexLocal.plugin],
})
